<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::visualization::CloudViewer类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1visualization_1_1_cloud_viewer.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classpcl_1_1visualization_1_1_cloud_viewer-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::visualization::CloudViewer类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>Simple point cloud visualization class  
 <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="visualization_2include_2pcl_2visualization_2cloud__viewer_8h_source.html">cloud_viewer.h</a>&gt;</code></p>
<div class="dynheader">
类 pcl::visualization::CloudViewer 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpcl_1_1visualization_1_1_cloud_viewer.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a00bd76afa4e7da69f269aa66ef292f65"><td class="memItemLeft" align="right" valign="top"><a id="a00bd76afa4e7da69f269aa66ef292f65"></a>
typedef <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">pcl::PointXYZRGBA</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ColorACloud</b></td></tr>
<tr class="separator:a00bd76afa4e7da69f269aa66ef292f65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81ba49f0f4fd9d2e124aff3f9abc5481"><td class="memItemLeft" align="right" valign="top"><a id="a81ba49f0f4fd9d2e124aff3f9abc5481"></a>
typedef <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b.html">pcl::PointXYZRGB</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ColorCloud</b></td></tr>
<tr class="separator:a81ba49f0f4fd9d2e124aff3f9abc5481"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37fbe7467fba14e87cafba8c51e73744"><td class="memItemLeft" align="right" valign="top"><a id="a37fbe7467fba14e87cafba8c51e73744"></a>
typedef <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_i.html">pcl::PointXYZI</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>GrayCloud</b></td></tr>
<tr class="separator:a37fbe7467fba14e87cafba8c51e73744"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8105d8e51af25410c3d71b93ece0219"><td class="memItemLeft" align="right" valign="top"><a id="af8105d8e51af25410c3d71b93ece0219"></a>
typedef <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z.html">pcl::PointXYZ</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>MonochromeCloud</b></td></tr>
<tr class="separator:af8105d8e51af25410c3d71b93ece0219"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adad0094081a2b6069a8d58bc4a0643b2"><td class="memItemLeft" align="right" valign="top">typedef boost::function1&lt; void, <a class="el" href="classpcl_1_1visualization_1_1_p_c_l_visualizer.html">pcl::visualization::PCLVisualizer</a> &amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#adad0094081a2b6069a8d58bc4a0643b2">VizCallable</a></td></tr>
<tr class="separator:adad0094081a2b6069a8d58bc4a0643b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a6266ab90b03695787804cc8625d4d6b3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#a6266ab90b03695787804cc8625d4d6b3">CloudViewer</a> (const std::string &amp;window_name)</td></tr>
<tr class="memdesc:a6266ab90b03695787804cc8625d4d6b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a cloud viewer, with a window name.  <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#a6266ab90b03695787804cc8625d4d6b3">更多...</a><br /></td></tr>
<tr class="separator:a6266ab90b03695787804cc8625d4d6b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a219657de567db61ae47e046b9bcce327"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#a219657de567db61ae47e046b9bcce327">~CloudViewer</a> ()</td></tr>
<tr class="memdesc:a219657de567db61ae47e046b9bcce327"><td class="mdescLeft">&#160;</td><td class="mdescRight">Will quit the window, and release all resources held by the viewer.  <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#a219657de567db61ae47e046b9bcce327">更多...</a><br /></td></tr>
<tr class="separator:a219657de567db61ae47e046b9bcce327"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a845aa739fa2ed4c3e57a07e762a48c2b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#a845aa739fa2ed4c3e57a07e762a48c2b">showCloud</a> (const ColorCloud::ConstPtr &amp;cloud, const std::string &amp;cloudname=&quot;cloud&quot;)</td></tr>
<tr class="memdesc:a845aa739fa2ed4c3e57a07e762a48c2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Show a cloud, with an optional key for multiple clouds.  <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#a845aa739fa2ed4c3e57a07e762a48c2b">更多...</a><br /></td></tr>
<tr class="separator:a845aa739fa2ed4c3e57a07e762a48c2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2aa139fa270a9b34cdcb8140b66b7b02"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#a2aa139fa270a9b34cdcb8140b66b7b02">showCloud</a> (const ColorACloud::ConstPtr &amp;cloud, const std::string &amp;cloudname=&quot;cloud&quot;)</td></tr>
<tr class="memdesc:a2aa139fa270a9b34cdcb8140b66b7b02"><td class="mdescLeft">&#160;</td><td class="mdescRight">Show a cloud, with an optional key for multiple clouds.  <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#a2aa139fa270a9b34cdcb8140b66b7b02">更多...</a><br /></td></tr>
<tr class="separator:a2aa139fa270a9b34cdcb8140b66b7b02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36e41b8f34167d10b41903fe84a6e848"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#a36e41b8f34167d10b41903fe84a6e848">showCloud</a> (const GrayCloud::ConstPtr &amp;cloud, const std::string &amp;cloudname=&quot;cloud&quot;)</td></tr>
<tr class="memdesc:a36e41b8f34167d10b41903fe84a6e848"><td class="mdescLeft">&#160;</td><td class="mdescRight">Show a cloud, with an optional key for multiple clouds.  <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#a36e41b8f34167d10b41903fe84a6e848">更多...</a><br /></td></tr>
<tr class="separator:a36e41b8f34167d10b41903fe84a6e848"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61420f322ca85e554d1a3b22d7709b60"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#a61420f322ca85e554d1a3b22d7709b60">showCloud</a> (const MonochromeCloud::ConstPtr &amp;cloud, const std::string &amp;cloudname=&quot;cloud&quot;)</td></tr>
<tr class="memdesc:a61420f322ca85e554d1a3b22d7709b60"><td class="mdescLeft">&#160;</td><td class="mdescRight">Show a cloud, with an optional key for multiple clouds.  <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#a61420f322ca85e554d1a3b22d7709b60">更多...</a><br /></td></tr>
<tr class="separator:a61420f322ca85e554d1a3b22d7709b60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7225294cad46d65a3f54c8a97dde1982"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#a7225294cad46d65a3f54c8a97dde1982">wasStopped</a> (int millis_to_wait=1)</td></tr>
<tr class="memdesc:a7225294cad46d65a3f54c8a97dde1982"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the gui was quit, you should quit also  <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#a7225294cad46d65a3f54c8a97dde1982">更多...</a><br /></td></tr>
<tr class="separator:a7225294cad46d65a3f54c8a97dde1982"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ef661143b864be17d4c9243723fe0cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#a5ef661143b864be17d4c9243723fe0cc">runOnVisualizationThread</a> (<a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#adad0094081a2b6069a8d58bc4a0643b2">VizCallable</a> x, const std::string &amp;key=&quot;callable&quot;)</td></tr>
<tr class="memdesc:a5ef661143b864be17d4c9243723fe0cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run a callbable object on the UI thread. Will persist until removed  <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#a5ef661143b864be17d4c9243723fe0cc">更多...</a><br /></td></tr>
<tr class="separator:a5ef661143b864be17d4c9243723fe0cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae657abe24e9345e09ab58fb664fafe68"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#ae657abe24e9345e09ab58fb664fafe68">runOnVisualizationThreadOnce</a> (<a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#adad0094081a2b6069a8d58bc4a0643b2">VizCallable</a> x)</td></tr>
<tr class="memdesc:ae657abe24e9345e09ab58fb664fafe68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run a callbable object on the UI thread. This will run once and be removed  <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#ae657abe24e9345e09ab58fb664fafe68">更多...</a><br /></td></tr>
<tr class="separator:ae657abe24e9345e09ab58fb664fafe68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6804cb5e9b37362de1959cefd798b835"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#a6804cb5e9b37362de1959cefd798b835">removeVisualizationCallable</a> (const std::string &amp;key=&quot;callable&quot;)</td></tr>
<tr class="memdesc:a6804cb5e9b37362de1959cefd798b835"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove a previously added callable object, NOP if it doesn't exist.  <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#a6804cb5e9b37362de1959cefd798b835">更多...</a><br /></td></tr>
<tr class="separator:a6804cb5e9b37362de1959cefd798b835"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae61290a8fb076cc5cf2901e6916dd238"><td class="memItemLeft" align="right" valign="top">boost::signals2::connection&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#ae61290a8fb076cc5cf2901e6916dd238">registerKeyboardCallback</a> (void(*callback)(const <a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html">pcl::visualization::KeyboardEvent</a> &amp;, void *), void *cookie=NULL)</td></tr>
<tr class="memdesc:ae61290a8fb076cc5cf2901e6916dd238"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a callback function for keyboard events  <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#ae61290a8fb076cc5cf2901e6916dd238">更多...</a><br /></td></tr>
<tr class="separator:ae61290a8fb076cc5cf2901e6916dd238"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81e195c5c84645cdb3d6683c1b5fa7f8"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a81e195c5c84645cdb3d6683c1b5fa7f8"><td class="memTemplItemLeft" align="right" valign="top">boost::signals2::connection&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#a81e195c5c84645cdb3d6683c1b5fa7f8">registerKeyboardCallback</a> (void(T::*callback)(const <a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html">pcl::visualization::KeyboardEvent</a> &amp;, void *), T &amp;instance, void *cookie=NULL)</td></tr>
<tr class="memdesc:a81e195c5c84645cdb3d6683c1b5fa7f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a callback function for keyboard events  <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#a81e195c5c84645cdb3d6683c1b5fa7f8">更多...</a><br /></td></tr>
<tr class="separator:a81e195c5c84645cdb3d6683c1b5fa7f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f79d7c3711d75ebc0c5ac27c727a776"><td class="memItemLeft" align="right" valign="top">boost::signals2::connection&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#a2f79d7c3711d75ebc0c5ac27c727a776">registerMouseCallback</a> (void(*callback)(const <a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html">pcl::visualization::MouseEvent</a> &amp;, void *), void *cookie=NULL)</td></tr>
<tr class="memdesc:a2f79d7c3711d75ebc0c5ac27c727a776"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a callback function for mouse events  <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#a2f79d7c3711d75ebc0c5ac27c727a776">更多...</a><br /></td></tr>
<tr class="separator:a2f79d7c3711d75ebc0c5ac27c727a776"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1d42f87f0cb5206e84bab608cd8478e"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:ac1d42f87f0cb5206e84bab608cd8478e"><td class="memTemplItemLeft" align="right" valign="top">boost::signals2::connection&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#ac1d42f87f0cb5206e84bab608cd8478e">registerMouseCallback</a> (void(T::*callback)(const <a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html">pcl::visualization::MouseEvent</a> &amp;, void *), T &amp;instance, void *cookie=NULL)</td></tr>
<tr class="memdesc:ac1d42f87f0cb5206e84bab608cd8478e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a callback function for mouse events  <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#ac1d42f87f0cb5206e84bab608cd8478e">更多...</a><br /></td></tr>
<tr class="separator:ac1d42f87f0cb5206e84bab608cd8478e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2275a9160852b63378d2ec6d59832051"><td class="memItemLeft" align="right" valign="top">boost::signals2::connection&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#a2275a9160852b63378d2ec6d59832051">registerPointPickingCallback</a> (void(*callback)(const <a class="el" href="classpcl_1_1visualization_1_1_point_picking_event.html">pcl::visualization::PointPickingEvent</a> &amp;, void *), void *cookie=NULL)</td></tr>
<tr class="memdesc:a2275a9160852b63378d2ec6d59832051"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a callback function for point picking events  <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#a2275a9160852b63378d2ec6d59832051">更多...</a><br /></td></tr>
<tr class="separator:a2275a9160852b63378d2ec6d59832051"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6042a90226cef8f3ca10eb5a6027362"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:af6042a90226cef8f3ca10eb5a6027362"><td class="memTemplItemLeft" align="right" valign="top">boost::signals2::connection&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#af6042a90226cef8f3ca10eb5a6027362">registerPointPickingCallback</a> (void(T::*callback)(const <a class="el" href="classpcl_1_1visualization_1_1_point_picking_event.html">pcl::visualization::PointPickingEvent</a> &amp;, void *), T &amp;instance, void *cookie=NULL)</td></tr>
<tr class="memdesc:af6042a90226cef8f3ca10eb5a6027362"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a callback function for point picking events  <a href="classpcl_1_1visualization_1_1_cloud_viewer.html#af6042a90226cef8f3ca10eb5a6027362">更多...</a><br /></td></tr>
<tr class="separator:af6042a90226cef8f3ca10eb5a6027362"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a0b0377f04fe56a5bfa2fbeb9a914dc1c"><td class="memItemLeft" align="right" valign="top"><a id="a0b0377f04fe56a5bfa2fbeb9a914dc1c"></a>
boost::signals2::connection&#160;</td><td class="memItemRight" valign="bottom"><b>registerMouseCallback</b> (boost::function&lt; void(const <a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html">pcl::visualization::MouseEvent</a> &amp;)&gt;)</td></tr>
<tr class="separator:a0b0377f04fe56a5bfa2fbeb9a914dc1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0619183562f023c637e5590479339eff"><td class="memItemLeft" align="right" valign="top"><a id="a0619183562f023c637e5590479339eff"></a>
boost::signals2::connection&#160;</td><td class="memItemRight" valign="bottom"><b>registerKeyboardCallback</b> (boost::function&lt; void(const <a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html">pcl::visualization::KeyboardEvent</a> &amp;)&gt;)</td></tr>
<tr class="separator:a0619183562f023c637e5590479339eff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a769657ee32ffe934e32e0f77a1821789"><td class="memItemLeft" align="right" valign="top"><a id="a769657ee32ffe934e32e0f77a1821789"></a>
boost::signals2::connection&#160;</td><td class="memItemRight" valign="bottom"><b>registerPointPickingCallback</b> (boost::function&lt; void(const <a class="el" href="classpcl_1_1visualization_1_1_point_picking_event.html">pcl::visualization::PointPickingEvent</a> &amp;)&gt;)</td></tr>
<tr class="separator:a769657ee32ffe934e32e0f77a1821789"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a460a07420f58c5e1ec79761bfc2b9f04"><td class="memItemLeft" align="right" valign="top"><a id="a460a07420f58c5e1ec79761bfc2b9f04"></a>
std::auto_ptr&lt; CloudViewer_impl &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>impl_</b></td></tr>
<tr class="separator:a460a07420f58c5e1ec79761bfc2b9f04"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>Simple point cloud visualization class </p>
<dl class="section author"><dt>作者</dt><dd>Ethan Rublee </dd></dl>
</div><h2 class="groupheader">成员类型定义说明</h2>
<a id="adad0094081a2b6069a8d58bc4a0643b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adad0094081a2b6069a8d58bc4a0643b2">&#9670;&nbsp;</a></span>VizCallable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::function1&lt;void, <a class="el" href="classpcl_1_1visualization_1_1_p_c_l_visualizer.html">pcl::visualization::PCLVisualizer</a>&amp;&gt; <a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#adad0094081a2b6069a8d58bc4a0643b2">pcl::visualization::CloudViewer::VizCallable</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Visualization callable function, may be used for running things on the UI thread. </p>

</div>
</div>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="a6266ab90b03695787804cc8625d4d6b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6266ab90b03695787804cc8625d4d6b3">&#9670;&nbsp;</a></span>CloudViewer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pcl::visualization::CloudViewer::CloudViewer </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>window_name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct a cloud viewer, with a window name. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">window_name</td><td>This is displayed at the top of the window </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a219657de567db61ae47e046b9bcce327"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a219657de567db61ae47e046b9bcce327">&#9670;&nbsp;</a></span>~CloudViewer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pcl::visualization::CloudViewer::~CloudViewer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Will quit the window, and release all resources held by the viewer. </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ae61290a8fb076cc5cf2901e6916dd238"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae61290a8fb076cc5cf2901e6916dd238">&#9670;&nbsp;</a></span>registerKeyboardCallback() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::signals2::connection pcl::visualization::CloudViewer::registerKeyboardCallback </td>
          <td>(</td>
          <td class="paramtype">void(*)(const <a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html">pcl::visualization::KeyboardEvent</a> &amp;, void *)&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>cookie</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Register a callback function for keyboard events </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">callback</td><td>the function that will be registered as a callback for a keyboard event </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">cookie</td><td>user data that is passed to the callback </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>connection object that allows to disconnect the callback function. </dd></dl>
<div class="fragment"><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        {</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;          <span class="keywordflow">return</span> (<a class="code" href="classpcl_1_1visualization_1_1_cloud_viewer.html#ae61290a8fb076cc5cf2901e6916dd238">registerKeyboardCallback</a> (boost::bind (callback, _1, cookie)));</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;        }</div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_cloud_viewer_html_ae61290a8fb076cc5cf2901e6916dd238"><div class="ttname"><a href="classpcl_1_1visualization_1_1_cloud_viewer.html#ae61290a8fb076cc5cf2901e6916dd238">pcl::visualization::CloudViewer::registerKeyboardCallback</a></div><div class="ttdeci">boost::signals2::connection registerKeyboardCallback(void(*callback)(const pcl::visualization::KeyboardEvent &amp;, void *), void *cookie=NULL)</div><div class="ttdoc">Register a callback function for keyboard events</div><div class="ttdef"><b>Definition:</b> cloud_viewer.h:135</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a81e195c5c84645cdb3d6683c1b5fa7f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81e195c5c84645cdb3d6683c1b5fa7f8">&#9670;&nbsp;</a></span>registerKeyboardCallback() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::signals2::connection pcl::visualization::CloudViewer::registerKeyboardCallback </td>
          <td>(</td>
          <td class="paramtype">void(T::*)(const <a class="el" href="classpcl_1_1visualization_1_1_keyboard_event.html">pcl::visualization::KeyboardEvent</a> &amp;, void *)&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>cookie</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Register a callback function for keyboard events </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">callback</td><td>the member function that will be registered as a callback for a keyboard event </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">instance</td><td>instance to the class that implements the callback function </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">cookie</td><td>user data that is passed to the callback </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>connection object that allows to disconnect the callback function. </dd></dl>
<div class="fragment"><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        {</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;          <span class="keywordflow">return</span> (<a class="code" href="classpcl_1_1visualization_1_1_cloud_viewer.html#ae61290a8fb076cc5cf2901e6916dd238">registerKeyboardCallback</a> (boost::bind (callback,  boost::ref (instance), _1, cookie)));</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a2f79d7c3711d75ebc0c5ac27c727a776"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f79d7c3711d75ebc0c5ac27c727a776">&#9670;&nbsp;</a></span>registerMouseCallback() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::signals2::connection pcl::visualization::CloudViewer::registerMouseCallback </td>
          <td>(</td>
          <td class="paramtype">void(*)(const <a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html">pcl::visualization::MouseEvent</a> &amp;, void *)&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>cookie</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Register a callback function for mouse events </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">callback</td><td>the function that will be registered as a callback for a mouse event </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">cookie</td><td>user data that is passed to the callback </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>connection object that allows to disconnect the callback function. </dd></dl>
<div class="fragment"><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        {</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;          <span class="keywordflow">return</span> (<a class="code" href="classpcl_1_1visualization_1_1_cloud_viewer.html#a2f79d7c3711d75ebc0c5ac27c727a776">registerMouseCallback</a> (boost::bind (callback, _1, cookie)));</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        }</div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_cloud_viewer_html_a2f79d7c3711d75ebc0c5ac27c727a776"><div class="ttname"><a href="classpcl_1_1visualization_1_1_cloud_viewer.html#a2f79d7c3711d75ebc0c5ac27c727a776">pcl::visualization::CloudViewer::registerMouseCallback</a></div><div class="ttdeci">boost::signals2::connection registerMouseCallback(void(*callback)(const pcl::visualization::MouseEvent &amp;, void *), void *cookie=NULL)</div><div class="ttdoc">Register a callback function for mouse events</div><div class="ttdef"><b>Definition:</b> cloud_viewer.h:158</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ac1d42f87f0cb5206e84bab608cd8478e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1d42f87f0cb5206e84bab608cd8478e">&#9670;&nbsp;</a></span>registerMouseCallback() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::signals2::connection pcl::visualization::CloudViewer::registerMouseCallback </td>
          <td>(</td>
          <td class="paramtype">void(T::*)(const <a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html">pcl::visualization::MouseEvent</a> &amp;, void *)&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>cookie</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Register a callback function for mouse events </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">callback</td><td>the member function that will be registered as a callback for a mouse event </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">instance</td><td>instance to the class that implements the callback function </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">cookie</td><td>user data that is passed to the callback </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>connection object that allows to disconnect the callback function. </dd></dl>
<div class="fragment"><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;        {</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;          <span class="keywordflow">return</span> (<a class="code" href="classpcl_1_1visualization_1_1_cloud_viewer.html#a2f79d7c3711d75ebc0c5ac27c727a776">registerMouseCallback</a> (boost::bind (callback, boost::ref (instance), _1, cookie)));</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;        }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a2275a9160852b63378d2ec6d59832051"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2275a9160852b63378d2ec6d59832051">&#9670;&nbsp;</a></span>registerPointPickingCallback() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::signals2::connection pcl::visualization::CloudViewer::registerPointPickingCallback </td>
          <td>(</td>
          <td class="paramtype">void(*)(const <a class="el" href="classpcl_1_1visualization_1_1_point_picking_event.html">pcl::visualization::PointPickingEvent</a> &amp;, void *)&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>cookie</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Register a callback function for point picking events </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">callback</td><td>the function that will be registered as a callback for a point picking event </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">cookie</td><td>user data that is passed to the callback </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>connection object that allows to disconnect the callback function. </dd></dl>
<div class="fragment"><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;        {</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;          <span class="keywordflow">return</span> (<a class="code" href="classpcl_1_1visualization_1_1_cloud_viewer.html#a2275a9160852b63378d2ec6d59832051">registerPointPickingCallback</a> (boost::bind (callback, _1, cookie)));</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        }</div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_cloud_viewer_html_a2275a9160852b63378d2ec6d59832051"><div class="ttname"><a href="classpcl_1_1visualization_1_1_cloud_viewer.html#a2275a9160852b63378d2ec6d59832051">pcl::visualization::CloudViewer::registerPointPickingCallback</a></div><div class="ttdeci">boost::signals2::connection registerPointPickingCallback(void(*callback)(const pcl::visualization::PointPickingEvent &amp;, void *), void *cookie=NULL)</div><div class="ttdoc">Register a callback function for point picking events</div><div class="ttdef"><b>Definition:</b> cloud_viewer.h:182</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="af6042a90226cef8f3ca10eb5a6027362"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6042a90226cef8f3ca10eb5a6027362">&#9670;&nbsp;</a></span>registerPointPickingCallback() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::signals2::connection pcl::visualization::CloudViewer::registerPointPickingCallback </td>
          <td>(</td>
          <td class="paramtype">void(T::*)(const <a class="el" href="classpcl_1_1visualization_1_1_point_picking_event.html">pcl::visualization::PointPickingEvent</a> &amp;, void *)&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>cookie</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Register a callback function for point picking events </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">callback</td><td>the member function that will be registered as a callback for a point picking event </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">instance</td><td>instance to the class that implements the callback function </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">cookie</td><td>user data that is passed to the callback </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>connection object that allows to disconnect the callback function. </dd></dl>
<div class="fragment"><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        {</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;          <span class="keywordflow">return</span> (<a class="code" href="classpcl_1_1visualization_1_1_cloud_viewer.html#a2275a9160852b63378d2ec6d59832051">registerPointPickingCallback</a> (boost::bind (callback, boost::ref (instance), _1, cookie)));</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a6804cb5e9b37362de1959cefd798b835"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6804cb5e9b37362de1959cefd798b835">&#9670;&nbsp;</a></span>removeVisualizationCallable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::CloudViewer::removeVisualizationCallable </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em> = <code>&quot;callable&quot;</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Remove a previously added callable object, NOP if it doesn't exist. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the key that was registered with the callable object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5ef661143b864be17d4c9243723fe0cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ef661143b864be17d4c9243723fe0cc">&#9670;&nbsp;</a></span>runOnVisualizationThread()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::CloudViewer::runOnVisualizationThread </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#adad0094081a2b6069a8d58bc4a0643b2">VizCallable</a>&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em> = <code>&quot;callable&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Run a callbable object on the UI thread. Will persist until removed </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>Use boost::ref(x) for a function object that you would like to not copy </td></tr>
    <tr><td class="paramname">key</td><td>The key for the callable &ndash; use the same key to overwrite. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae657abe24e9345e09ab58fb664fafe68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae657abe24e9345e09ab58fb664fafe68">&#9670;&nbsp;</a></span>runOnVisualizationThreadOnce()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::CloudViewer::runOnVisualizationThreadOnce </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html#adad0094081a2b6069a8d58bc4a0643b2">VizCallable</a>&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Run a callbable object on the UI thread. This will run once and be removed </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>Use boost::ref(x) for a function object that you would like to not copy </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2aa139fa270a9b34cdcb8140b66b7b02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2aa139fa270a9b34cdcb8140b66b7b02">&#9670;&nbsp;</a></span>showCloud() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::CloudViewer::showCloud </td>
          <td>(</td>
          <td class="paramtype">const ColorACloud::ConstPtr &amp;&#160;</td>
          <td class="paramname"><em>cloud</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>cloudname</em> = <code>&quot;cloud&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Show a cloud, with an optional key for multiple clouds. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cloud</td><td><a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a> point cloud </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">cloudname</td><td>a key for the point cloud, use the same name if you would like to overwrite the existing cloud. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a845aa739fa2ed4c3e57a07e762a48c2b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a845aa739fa2ed4c3e57a07e762a48c2b">&#9670;&nbsp;</a></span>showCloud() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::CloudViewer::showCloud </td>
          <td>(</td>
          <td class="paramtype">const ColorCloud::ConstPtr &amp;&#160;</td>
          <td class="paramname"><em>cloud</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>cloudname</em> = <code>&quot;cloud&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Show a cloud, with an optional key for multiple clouds. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cloud</td><td><a class="el" href="structpcl_1_1_r_g_b.html" title="A structure representing RGB color information.">RGB</a> point cloud </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">cloudname</td><td>a key for the point cloud, use the same name if you would like to overwrite the existing cloud. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a36e41b8f34167d10b41903fe84a6e848"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36e41b8f34167d10b41903fe84a6e848">&#9670;&nbsp;</a></span>showCloud() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::CloudViewer::showCloud </td>
          <td>(</td>
          <td class="paramtype">const GrayCloud::ConstPtr &amp;&#160;</td>
          <td class="paramname"><em>cloud</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>cloudname</em> = <code>&quot;cloud&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Show a cloud, with an optional key for multiple clouds. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cloud</td><td>XYZI point cloud </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">cloudname</td><td>a key for the point cloud, use the same name if you would like to overwrite the existing cloud. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a61420f322ca85e554d1a3b22d7709b60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61420f322ca85e554d1a3b22d7709b60">&#9670;&nbsp;</a></span>showCloud() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::visualization::CloudViewer::showCloud </td>
          <td>(</td>
          <td class="paramtype">const MonochromeCloud::ConstPtr &amp;&#160;</td>
          <td class="paramname"><em>cloud</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>cloudname</em> = <code>&quot;cloud&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Show a cloud, with an optional key for multiple clouds. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cloud</td><td>XYZ point cloud </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">cloudname</td><td>a key for the point cloud, use the same name if you would like to overwrite the existing cloud. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7225294cad46d65a3f54c8a97dde1982"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7225294cad46d65a3f54c8a97dde1982">&#9670;&nbsp;</a></span>wasStopped()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool pcl::visualization::CloudViewer::wasStopped </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>millis_to_wait</em> = <code>1</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check if the gui was quit, you should quit also </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">millis_to_wait</td><td>This will request to "spin" for the number of milliseconds, before exiting. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>true if the user signaled the gui to stop </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>visualization/include/pcl/visualization/<a class="el" href="visualization_2include_2pcl_2visualization_2cloud__viewer_8h_source.html">cloud_viewer.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>visualization</b></li><li class="navelem"><a class="el" href="classpcl_1_1visualization_1_1_cloud_viewer.html">CloudViewer</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
